package com.hoshiibuy.sku.entity.vo;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.apache.commons.lang3.StringUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
* <p>
* 基础SKU商品图片资源
* </p>
*
* @author zhangshuhu
* @since 2019-05-05
*/
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("base_sku_gallery")
    @ApiModel(value="BaseSkuGalleryDetailVO对象", description="基础SKU商品图片资源")
    public class BaseSkuGalleryDetailVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "sukid")
    @TableField("skuid")
    private Long skuid;

    @ApiModelProperty(value = "分类 1-商品主图 2-商品明细图")
    @TableField("image_type")
    private Integer imageType;

    @ApiModelProperty(value = "图片描述")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "商品图片")
    @TableField("image")
    private String image;

    @ApiModelProperty(value = "创建时间")
    @TableField("createdtime")
    private LocalDateTime createdtime;

    @ApiModelProperty(value = "修改时间")
    @TableField("updatedtime")
    private LocalDateTime updatedtime;

    @ApiModelProperty(value = "建立人")
    @TableField("createdby")
    private String createdby;

    @ApiModelProperty(value = "修改人")
    @TableField("updatedby")
    private String updatedby;

    @ApiModelProperty(value = "是否删除")
    @TableField("deleted")
    private Integer deleted;
}
